package practice;

public class 打印乘法表 {
    public static void main(String[] args) {
        Print(9);
    }
    public static void Print(int num){
        for (int i = 1; i <=num; i++) {
            for(int j = 1; j<= i ; j++){
                System.out.print(j + "*" + i + "=" + i*j + " ");
            }
            System.out.println();
        }
    }
}

